#-*- coding:utf-8 -*-
__author__ = 'aesop'
import MySQLdb
from DBUtils.PooledDB import PooledDB

#需涉及字符集为utf8
__pool = PooledDB(MySQLdb,5,host='smeug.nju.edu.cn',user='root',passwd='zxcv',db='wx',port=3306,charset='utf8')

def get_conn():
    return __pool.connection()
